﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KitBuildingWF.DataAccess
{
    public class DAOFactory
    {
        //public static DAOGeneric<T> GetDAO(string objName, string dbaccesstool)
        //{
            
        //}

        public static StockDAO GetStockDAO(string dbaccesstool)
        {
            StockDAO stockDao = null;

            if (dbaccesstool.Equals("Native")){
                stockDao = new StockNativeDAO();
            }

            return stockDao;
        }

        public static KitDAO GetKitDAO(string dbaccesstool){
            KitDAO kitDao = null;

            if (dbaccesstool.Equals("Native")){
                kitDao = new KitNativeDAO();
            }

            return kitDao;
        }

    }
}
